package clientMessages;

import interfaces.ClientSideMessage;
import interfaces.Order;

public class ClientMessageReceived implements ClientSideMessage {
	
	private Type type;
	private Order order;
	private String error;
	
	@Override
	public Type getType() {
		return type;
	}

	@Override
	public Order getOrder() {
		return order;
	}

	@Override
	public String getError() {
		return error;
	}
	
	public void setOrder(Order order){
		this.order = order;
	}
	
	public void setError(String error){
		this.error = error;
	}
	
	public void setType(Type type) {
		this.type = type;
	}

}
